package com.ydd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangxiaojun
 * @since 2023-05-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ydd_cate")
public class YddCate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("catename")
    private String catename;

    /**
     * 字段图标class
     */
    @TableField("icon")
    private String icon;

    /**
     * 排序数字
     */
    @TableField("sort_num")
    private Integer sortNum;

    /**
     * 是否为默认数据，null表示不是，1表示是
     */
    @TableField("default_data")
    private String defaultData;


}
